function barsDraw( context, all )
{
    var messageLife = "life";
    var messageScore = "score";
    var messageAsteroids = "destroyed";
    var messageAsteroids2 = "asteroids";
    var image = document.getElementById( 'life' );   
    context.save();

    context.translate( all.width - 35 , 50 );
          
    context.font = "20px verdana";
    context.fillStyle = "red";
    context.fillText( messageLife, -10, -20 );
    for ( var i = 0; i < all.ship.life; i++ )
    {
        context.drawImage( image, i * ( -25 ), -10, 20, 20 );
    }

    context.restore();

    context.font = "20px verdana";
    context.fillStyle = "red";
    context.fillText( messageScore, 15, 30 );
    context.fillText( all.ship.score, 15, 50 );
    context.fillText( messageAsteroids, 15, 80 );
    context.fillText( messageAsteroids2, 15, 100 );
    context.fillText( all.ship.numDestroyedAsteroids, 15, 120 );    
};
